<!--ng-model="model[options.key]"-->
<div class="input-group" ng-model="model[options.key]">
    <input class="form-control" type="text" ng-value="model[options.key][options.templateOptions.displayName]" />
    <span class="input-group-btn">
        <button class="btn btn-default"
                ng-click="options.templateOptions['openModal']('lg',options,to.modal);"
                type="button"><i class="glyphicon glyphicon-search"></i></button>
    </span>
</div>